<template>
<activityItems :list="list" disabled="false"/>

</template>
<script setup>
    import activityItems from "@/components/huodong-list/index.vue"

	import {
		tabActivity
	} from "@/api/volunteer"
	
import {
		ref,
		onMounted,
		computed,
		nextTick
		} from 'vue';
	import {
		useRouter
	} from 'uni-mini-router'
	
	import {
		useFontSizeStore
	} from '@/stores/fontSizeStore';
	import {
		useTabStore
	} from '@/stores/tabs'
	import {
		ROLE_TABS
	} from "@/config/roles"
	import TabComponent from '@/components/tab-bar/index.vue'
	const fontSizeStore = useFontSizeStore();
	const tabStore = useTabStore()
	const router = useRouter();

    	// 列表数据
	const list = ref([])
	
	const loadData=()=>{
		tabActivity({
			id:0,
			type:""
		}).then((res)=>{
			if(res.code==200){
				list.value = res.data;
			}
		})
	}
    onMounted(()=>{
        loadData()
    })
</script>